home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / aux_faq / part1 next >
Internet Message Format  |  1994-04-12  |  50KB

  1. Path: bloom-beacon.mit.edu!hookup!ames!newsfeed.gsfc.nasa.gov!jagubox!jim
  2. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  3. Newsgroups: comp.unix.aux,news.answers,comp.answers
  4. Subject: Apple A/UX FAQ List (1/3)
  5. Supersedes: <3020@jagubox.gsfc.nasa.gov>
  6. Followup-To: comp.unix.aux
  7. Date: 12 Apr 94 13:26:31 GMT
  8. Organization: NASA/Goddard Space Flight Center
  9. Lines: 1104
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 27 Apr 94 00:00:00 GMT
  12. Message-ID: <3064@jagubox.gsfc.nasa.gov>
  13. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  14. NNTP-Posting-Host: jagubox.gsfc.nasa.gov
  15. Mime-Version: 1.0
  16. Content-Type: text/plain; charset=US-ASCII
  17. Content-Transfer-Encoding: 7bit
  18. Summary: Latest posting of FAQ for A/UX
  19. Keywords: FAQ A/UX
  20. Xref: bloom-beacon.mit.edu comp.unix.aux:6811 news.answers:17959 comp.answers:4873
  21.  
  22. Archive-name: aux-faq/part1
  23. Last-modified: Tue Apr 12 09:25:29 EDT 1994
  24.  
  25.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  26.  
  27.  
  28. FAQ for A/UX
  29. ============
  30.  
  31. This FAQ list is intended to cut down on the number of "often asked questions"
  32. that make the rounds here on comp.unix.aux. Also included you'll find a few
  33. words of wisdom as well as some general information for the A/UX community.
  34. This list assumes that you are familiar with Unix (to some extent) but are
  35. curious about A/UX's eccentricities. The list will concentrate on A/UX 3.x.x
  36. but may also have info about previous versions. If you don't understand
  37. something in the FAQ List, and a "Point of Contact" isn't specified, then
  38. contact me and I'll attempt to help or else point you to someone who can.
  39. In any case, let me know how I can make the list more clear.
  40.  
  41. This FAQ is written in a format that EasyView (for the Mac) can understand
  42. and make use of. EasyView provides a very nice front-end for viewing,
  43. browsing and reading the FAQ. EasyView is available via anon-ftp on
  44. jagubox.gsfc.nasa.gov.
  45.  
  46. The list will be posted biweekly (every other Tuesday) on comp.unix.aux as
  47. well as news.answers and comp.answers. It is also available via anonymous
  48. ftp on jagubox.gsfc.nasa.gov.
  49.  
  50. There is a frozen FAQ that deals with A/UX 2.0.1 which is available via
  51. anon-ftp on jagubox (FAQ.aux.201). This FAQ will be posted monthly (or so)
  52. on comp.unix.aux.
  53.  
  54. Since 3.0.2 is official, released and free, I will not mention things broken
  55. in 3.0.1 that are fixed in 3.0.2. I will also tend to "ignore" 3.0.1 except
  56. where needed... This is due to the fact that the upgrade to 3.0.2 (from 3.0.1)
  57. _is_ free, so if you have 3.0.1, you really _should_ upgrade to 3.0.2.
  58.  
  59. I will tend to use 3.0.2 as the name of the general version of A/UX and
  60. 3.0.2(wgs) as the version for the AWS95 even though this is kinda confusing
  61. since the WGS version is really 3.0.2 and the version for the rest of us is
  62. 3.0.2bc. Anyway, 3.0.x will be used to mean 3.0, 3.0.2 and 3.0.2(wgs).
  63.  
  64. Now that 3.1 is released and shipping, I'll start folding 3.1-specific items
  65. in as well. 3.x.x means 3.1, 3.0.2, 3.0.1 and 3.0.
  66.  
  67. This FAQ is "copyrighted" in the same sense that all other FAQs are copy-
  68. righted: the FAQ may be _freely_ redistributed as long as the author's/editor's
  69. name and this notice is included. If contents of this FAQ are to be published,
  70. then you should ask the author's/editor's permission to do so.
  71.  
  72. Send your additions|modifications to Jim Jagielski (jim@jagubox.gsfc.nasa.gov)
  73. (editor's notes are included as <<ED: ...>>). I will tend to refer to myself
  74. in the 3rd person in the Q&A section.
  75.  
  76. =============================
  77. **** Significant Changes ****
  78. -----------------------------
  79.  
  80. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  81. |Significant changes/additions since last posting:
  82. |   Changes signified by "|" in 1st column;
  83. |   Additions by "+" in the 1st column;
  84. |   Deletions by "-" in the 1st column (the line will be
  85. |    deleted in the next posting)
  86. |
  87. + Ports: Added 'perl' and Mosiac
  88. | Ports: wuarchive-ftpd now up to 2.3
  89. + WOW: Added: 'sh' line lengths
  90. + Added: G.10: The future of A/UX
  91. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  92.  
  93.  
  94. ============================
  95. **** TABLE OF CONTENTS: ****
  96. ----------------------------
  97.  
  98. o List of Contributors to A/UX FAQ List
  99. o List of anon-ftp archives for A/UX
  100. o List of security-related issues
  101. o List of known bugs and patches under A/UX 3.x.x
  102. o List of ported software
  103. o Partial list of compatible shareware|freeware
  104. o Hints and Words Of Wisdom
  105. o Q&A-
  106.    GENERAL QUESTIONS:
  107.    G.01)  What's A/UX? Is it any good?
  108.    G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  109.    G.03)  What's new about A/UX 3.x.x?
  110.    G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  111.    G.05)  How can I order A/UX?
  112.    G.06)  What's the upgrade path for A/UX 3.0.2?
  113.    G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  114.    G.08)  How can I report bugs that I find?
  115.    G.09)  What's the word on A/UX 3.1?
  116. +  G.10)  What's the future of A/UX with the PowerMacs?
  117.  
  118.    ADMINISTRATION ISSUES:
  119.    A.01)  How come my Login screen is gray, not color?
  120.    A.02)  How come my Login ScreenSaver doesn't see both my monitors?
  121.    A.03)  Even though I have lot's of swap space and only a little bit is
  122.           being used, I STILL get a lot of messages saying that my swap
  123.           space is running low. What's the buzz?
  124.    A.04)  How can I copy a complete file system from one disk|partition to
  125.           another?
  126.    A.05)  What's with UUCP?
  127.    A.06)  How can I log anonymous ftp entries? in.ftpd has a -l option,
  128.           but it doesn't work.
  129.    A.07)  How come when I do a 'df' as a regular user, it shows me a different
  130.           number of free blocks compared to when I run it as 'root'?
  131.    A.08)  Does A/UX LocalTalk support IP?
  132.    A.09)  How do I get MPW 3.1 to work? It hangs my system...
  133.    A.10)  Can I refer to a file on my Mac system from within A/UX?
  134.    A.11)  How can I adjust the amount of virtual memory Finder uses?
  135.    A.12)  Is there an archive of comp.unix.aux out there somewhere?
  136.    A.13)  How come I can't use color under X?
  137.    A.14)  Using the command shell interface, I'm trying to access some Mac
  138.           files (that have strange names) but I can't; the program returns an
  139.           error message I can't access the file. What's going on?
  140.    A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  141.           hard disk. Well, it doesn't on mine!
  142.    A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  143.           how can I get it?
  144.    A.17)  How can I configure CAP under A/UX?
  145.    A.18)  What are some good books about A/UX?
  146.    A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  147.           error message and A/UX won't boot. What can I do?
  148.  
  149.    MAC-EMULATION QUESTIONS:
  150.    M.01)  What Mac applications are compatible with A/UX?
  151.    M.02)  What screen-savers are compatible with A/UX?
  152.    M.03)  My MacOS partition mounts fine under MacOS but it doesn't show
  153.           up under A/UX... Why?
  154.    M.04)  I have MacsBug installed. How can I trigger it?
  155.    M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  156.           up; how can I unfreeze it? Should I hit the Interrupt switch?
  157.    M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use
  158.           Phase 1 under A/UX?
  159.    M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  160.           Also, sometimes things get transfered fine, othertimes not. What's
  161.           going on?
  162.    M.08)  Do I install CDEVs and Extensions in the System Folder on
  163.           MacPartition or on the "/" A/UX disk.
  164.    M.09)  I heard that A/UX requires a special version of System 7 to boot...
  165.           Is this true?
  166.    M.10)  After the Mac environment crashes (or when I use MacsBug), the
  167.           Desktop gets all screwed up... Argg!!
  168.    M.11)  My MacOS partition(s) only show up on the Desktop when I login
  169.           as root. Why?
  170.    M.12)  For some reason, my CommandShell only responds to a keyboard
  171.           event after it receives a second event. For example, typing "a"
  172.           won't show until I type something else or click the mouse.
  173.           What gives?
  174.    M.13)  Can A/UX 3.x.x run System 7.1?
  175.    M.14)  What version of AppleTalk does A/UX run?
  176.    M.15)  I've just installed MacTCP 2.0.2|4 on A/UX and nothing works!
  177.           What's going on?
  178.  
  179.    DEVICES AND PERIPHERALS:
  180.    D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  181.    D.02)  I have an EtherNet card that works fine under the Macintosh OS
  182.           but not under A/UX. Why?
  183.    D.03)  Can I use my scanner under A/UX?
  184.    D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to
  185.           work. I keep on getting a "more data than device expected" error
  186.           message. What's wrong?
  187.    D.05)  What 3-button mice work under A/UX (and X)?
  188.    D.06)  Is it worth getting a cache card for the IIci?
  189.    D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  190.    D.08)  Which serial cards work under A/UX?
  191.    D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print
  192.           something to it through 'lpr', the first line of the page is cut
  193.           off. Why?
  194.    D.10)  I'm trying to access my tape drive using 'tc' (with something like
  195.           "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  196.    D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  197.    D.12)  I've tried to install the CD Remote extension to A/UX so that
  198.           I can play audio CD's, but it doesn't work...
  199.    D.13)  What UNIX CD-ROM formats does A/UX support?
  200.    D.14)  How can I add printers other than those available in Chooser?
  201.    D.15)  What 3rd party accelerators are compatible with A/UX?
  202.    D.16)  Will the old serial HP DeskWriter work under A/UX?
  203.    D.17)  How can I use a HP DeskWriter under A/UX?
  204.    D.18)  Does A/UX support 24-bit color?
  205.    D.19)  What's the specifics on the AWS95 PDS Card?
  206.    D.20)  What are the specifics of SCSI under A/UX?
  207.    D.21)  I can't get my LaserJet 4M to work reliably. Help!
  208.    D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  209.  
  210.    PORTING AND PROGRAMMING
  211.    P.01)  How come rn|elm|less|etc... act weird concerning signals?
  212.    P.02)  Is X11R5 available for A/UX?
  213.    P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  214.           I'll miss out on all the neat Gnu-stuff like gcc?
  215.    P.04)  I've ported Elm (or other mail reader) and it doesn't seem to
  216.           work... Why?
  217.    P.05)  What languages are available for A/UX?
  218.    P.06)  Is OSF/Motif available for A/UX?
  219.    P.07)  While trying to port some software, the Makefile looks
  220.           for a program called 'ranlib' and dies when it can't
  221.           find it. What is it and where can I get it.
  222.  
  223.    COMMUNICATION:
  224.    C.01)  I'm unable to start a getty process on a built-in serial port. When
  225.           I use 'setport' to enable the port, I get a "no such device" error.
  226.           Configuring /etc/inittab to respawn getty on the port has no effect.
  227.    C.02)  I am using and depending on /etc/hosts to do all my hostname
  228.           resolving (i.e. not using named or /etc/resolv.conf). How come I
  229.           can't mail to other hosts, but I can ping|ftp|etc... them?
  230.    C.03)  When I try to mail something, I get the following error message:
  231.           "Cannot read frozen config file: not a typewriter". What's wrong?
  232.    C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  233.           on tty0?
  234.    C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  235.           there, and they can't talk to me?
  236.    C.06)  How can I convince A/UX to forward IP packets?
  237.    C.07)  Is PPP available for A/UX?
  238.    C.08)  How can I change the MTU value for CSlip?
  239.  
  240.    ERRORS EXPLAINED:
  241.    E.01)  How do I keep command lines that I edit with "backspace" from
  242.           erasing the prompt?
  243.    E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  244.           a fatal server error. Why?
  245.    E.03)  I keep on getting the following error message on the Console:
  246.           "fcntl: local lock manager not registered". What's going on?
  247.    E.04)  When I try to startup 'xterm', I get the following error
  248.           message: "xterm: no available ptys"... What gives?
  249.    E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  250.           these commands, they get a "no mem" error message. What's wrong?
  251.  
  252.  
  253. ===============================================
  254. **** List of Contributors to A/UX FAQ List ****
  255. -----------------------------------------------
  256.  
  257. The editor would like to thank all the various people who have contributed
  258. to the A/UX FAQ List (both those that submitted questions as well as those
  259. who submitted answers). Also included under the Q&A section are the relevant
  260. people to contact if you have specific questions about specific A/UX items.
  261. If I've left you out, PLEASE E-mail me!
  262.  
  263.   Brian Bechtel           (blob@apple.com)
  264.   Greg Berryman           (gpb@gpb-mac.sps.mot.com)
  265.   Nick Beser              (beser@aplcomm.jhuapl.edu)
  266.   Manuel Bouyssou         (manuel@apple.com)
  267.   John Coolidge           (coolidge@apple.com)
  268.   Bob Denny               (denny@alisa.com)
  269.   Eric Dittman            (dittman@skitzo.dseg.ti.com)
  270.   John Dundas III         (dundas@salt.jpl.nasa.gov)
  271.   Thomas Eberhardt
  272.   Rick Ewing              (ewing@ctrvax.vanderbilt.edu)
  273.   Ron Flax                (ron@afsg.apple.com)
  274.   Marcelo Gallardo        (marcelo@deadzone.princeton.edu)
  275.   Ben Goren               (ben@tux.fa.asu.edu)
  276.   James Gritton           (gritton@byu.edu)
  277.   Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  278.   Chris Johnson           (cjohnson@brl.mil)
  279.   Bill Johnston           (johnston@me.udel.edu)
  280.   Ron Johnston            (johnston@apple.com)
  281.   Bob Kirby               (kirby@esl.com)
  282.   Nicolas Lenz            (nlenz@sdcc13.UCSD.EDU)
  283.   Darrell Pfeifer         (pfeifer@camins.camosun.bc.ca)
  284.   Phillip Porch           (root@theporch.raider.net)
  285.   Wes Price               (ww2@bullwinkle.ssc.gov)
  286.   Alexis Rosen            (alexis@panix.com)
  287.   Craig Ruff              (cruff@ncar.ucar.edu)
  288.   Jim Ryan                (jryan@adobe.com)
  289.   Paul Sander             (paul@sander.uucp)
  290.   Kent Sandvik            (ksand@apple.com)
  291.   Craig Struble           (cstruble@gnu.ai.mit.edu)
  292.   Richard Todd            (rmtodd@servalan.servalan.com)
  293.   Chuq Von Rospach        (chuq@apple.com)
  294.   Jon W{tte               (d88-jwa@nada.kth.se)
  295.   Earl Wallace            (earlw@macaux.aux.apple.com)
  296.   Bill Woodcock           (woody@zocalo.com)
  297.  
  298.  
  299. =================================================
  300. **** List of anonymous ftp archives for A/UX ****
  301. -------------------------------------------------
  302.  
  303. The following sites have A/UX related archives and materials available via
  304. anonymous ftp (see below for more information):
  305.  
  306. afsg.apple.com                     (130.43.50.2)
  307.     ports and hacks for A/UX
  308.  
  309. aux.support.apple.com              (130.43.6.2)
  310.     the "official" A/UX-support server
  311.     archive of comp.unix.aux
  312.     A/UX patches and some ports;
  313.  
  314. dunkin.Princeton.EDU               (128.112.64.39)
  315.     mirror of jagubox.gsfc.nasa.gov
  316.  
  317. ftp.fenk.wau.nl                    (137.224.129.4)
  318.     mirror of jagubox.gsfc.nasa.gov
  319.  
  320. jagubox.gsfc.nasa.gov              (128.183.44.1)
  321.     FAQ List;
  322.     bunch of ports, utilities, new mini-inews (1.6);
  323.     Apple fixes (in ~ftp/pub/aux/apple.fixes)
  324.  
  325. nada.kth.se                        (130.237.222.71)
  326.     mirror of A/UX items from:
  327.        afsg.apple.com
  328.        aux.support.apple.com
  329.        jagubox.gsfc.nasa.gov
  330.        wuarchive.wustl.edu
  331.  
  332. rascal.ics.utexas.edu              (128.83.138.20)
  333.     misc. ports;
  334.     Mac applications, CDEVs, etc...;
  335.  
  336. redstar.dcs.qmw.ac.uk              (192.135.231.4)
  337.     IIci benchmarking results;
  338.  
  339. wuarchive.wustl.edu                (128.252.135.4)
  340.     ports, GNU stuff; (look in systems/aux)
  341.  
  342.  
  343. =======================================
  344. *** List of security-related issues ***
  345. ---------------------------------------
  346.  
  347. No system is 100% secure. To this end, it makes sense to make each one as
  348. secure as possible, including A/UX.
  349.  
  350. ~~~~~~~~~~~~~~~~~~~~~~
  351. Permissive Permissions
  352. ~~~~~~~~~~~~~~~~~~~~~~
  353.  
  354.   o The default distribution of A/UX has some files with somewhat permissive
  355.     permissions. These should be changed to avoid problems. These files and
  356.     the recommended modes, owners and groups are as follows:
  357.  
  358.       -rwxr-sr-x   1 bin      sys        /bin/ps
  359.       -rwxr-sr-x   1 bin      sys        /bin/pstat
  360.       -rwxr-xr-x   1 bin      bin        /etc/ncheck
  361.       -rwxr-sr-x   1 bin      sys        /usr/bin/lav
  362.       -rwxr-xr-x   1 bin      bin        /usr/bin/X11/xterm
  363.       -rwxr-sr-x   1 bin      sys        /usr/etc/ncstats
  364.       -rwxr-sr-x   1 bin      sys        /usr/etc/nfsstat
  365.       -rwxr-xr-x   1 bin      bin        /usr/etc/rpcinfo
  366.       -rwxr-x---   1 adm      adm        /usr/lib/acct/diskusg
  367.  
  368.     (The removal of SUID-to-root from 'diskusg' means that the cron 'adm'
  369.     accounting package [all the /usr/lib/acct/* stuff] will need to be run by
  370.     'root' instead)
  371.  
  372.     To make changing the user, group and permissions of these files a little
  373.     easier, Jim Jagielski has hacked together an ugly little 'ksh' script
  374.     that does it for you. The info required is self contained in the script
  375.     itself and it's easy to add more entries as required. Look for the script
  376.     on jagubox.gsfc.nasa.gov under "/pub/aux/better.perms" and in
  377.     "/pub/aux/security/better.perms".
  378.  
  379.  o  Also, to close things a little tighter, remove all permissions for
  380.     "others" ('chmod o-rwx') for all files in:
  381.  
  382.       /usr/lib/acct
  383.       /usr/lib/cron
  384.     
  385.   o Only trusted users should be allowed to use 'lpr'. Remove execute
  386.     priviledges for OTHERS and then change '/etc/groups' to make _only_
  387.     trusted users as members of group 'daemon'. If you want, you can dump
  388.     'lpr/lpd' and use 'lp/lpsched'.
  389.  
  390.   o You may want to consider if you really want the 'lp'|'lpr' admini-
  391.     stration programs (such as 'lpadmin', 'lpmove' etc...) executable by
  392.     all. If not, then remove that mode from them ('chmod o-rwx').
  393.  
  394.   o Under 3.x.x, make sure that all files in /dev/scsi are mode 600 with
  395.     owner 'root' and group 'sys'... Get the new 'devscsi' file (available on
  396.     jagubox) to replace what's in /etc/install.d/init.d.
  397.  
  398.   o A/UX also has the 'expreserve' problem. This program (actually called
  399.     'ex3.9preserve' under A/UX) is used by 'vi'|'ex' to "save" canceled
  400.     or killed edit sessions. 'expreserve' saves a copy of the buffer in
  401.     the "/usr/preserve" directory. The program is SUID to root since the
  402.     directory is owned by root, but any other user would do just fine. There's
  403.     also no real need for it to be SUID either. To preserve the use of
  404.     'expreserve' you'll need to create a new user whose sole existance is to
  405.     own "/usr/preserve" and 'ex3.9preserve'.
  406.  
  407.       : Create a new user on the system. Make it totally unused. eg:
  408.  
  409.          /etc/passwd:
  410.            preserve:* void *:33:33:secure preserve:/usr/preserve:/bin/noshell
  411.  
  412.          /etc/group
  413.            preserve:* void *:33:preserve
  414.     
  415.       : Now change the owner and group of /usr/lib/ex3.9preserve and
  416.         /usr/preserve to the above user. Change the mode of 'ex3.9preserve' to
  417.         2111 and 'preserve' to 775:
  418.  
  419.           ---x--s--x   1 preserve  preserve  /usr/lib/ex3.9preserve
  420.           drwxrwxr-x   2 preserve preserve     512 Mar  4 15:46 /usr/preserve
  421.  
  422.     ...and you're done. Now vi/expreserve can write in /usr/preserve but no
  423.     root security hole exists! If this is too much work, then you can just
  424.     remove the SUID bit for 'expreserve'; this will close the hole, but killed
  425.     editting sessions won't be saved (except for root).
  426.  
  427.     (***NOTE*** Replacing 'sh' with the "fixed" version described below
  428.      fixes this hole. Still, having 'expreserve' SUID to root goes against
  429.      the ideal of running programs with the least priviledges possible.)
  430.  
  431.   o The '/lib/librmt.a' library has write permissions for all users. You
  432.     should remove it:
  433.  
  434.       -rw-r--r--   1 root     bin        14734 Mar 23  1993 /lib/librmt.a
  435.  
  436. ~~~~~~~~~~~~~~~~
  437. Other "Gotcha's"
  438. ~~~~~~~~~~~~~~~~
  439.  
  440.   o A number of holes are due to some "wrong" things that '/bin/sh' does
  441.     concerning IFS. To fix this, Apple has released a "corrected" version
  442.     of 'sh' that resets IFS to it's default value before executing a script.
  443.     This fixes some holes that exist in SUID programs that call 'system()'
  444.     or 'popen()' to execute some commands. This replacement version of
  445.     'sh' is available both on aux.support.apple.com and jagubox.gsfc.nasa.gov.
  446.     To install it, follow these directions (assuming you are located in the
  447.     directory where the new 'sh' is located):
  448.  
  449.        $ cp /bin/sh /bin/Osh
  450.        $ cp sh /bin/sh
  451.  
  452.   o By all means, remove the Guest account. Check to make sure that there
  453.     are _no_ users with null-passwords in /etc/passwd.
  454.  
  455.   o The default distribution of A/UX has 'in.fingerd' SUID to root. No
  456.     need for that. Much better to have it run as 'nobody'. You can do
  457.     this by either changing the owner of 'in.fingerd' to 'nobody' and
  458.     keeping it's SUID bit or you can remove the SUID capability and
  459.     tell 'inetd' to run it as 'nobody'. To do the later, you'll need to
  460.     use the new, unofficial replacement of 'inetd' for A/UX (see below:
  461.     "Performance Patches", "Ported s/w" and Q&A A.06). Jim Jagielski has
  462.     also ported a version of 'in.fingerd' that logs fingers. It's available
  463.     via anon-ftp on jagubox.gsfc.nasa.gov. Of course, the most secure option
  464.     is simply to disable 'in.fingerd' totally in '/etc/servers'.
  465.  
  466.   o Root should never use the common System Folder... Due to it's very
  467.     nature it's writable by everyone. Give root a personal System Folder
  468.     and sleep easier :)
  469.  
  470.   o A/UX doesn't support the 'sticky-bit' feature for directories. So
  471.     why not create a directory in your $HOME called '.tmp' with mode 700.
  472.     Now in /etc/profile add:
  473.  
  474.         if [ -d "$HOME/.tmp" ]; then
  475.             EXINIT="set directory=$HOME/.tmp"
  476.             export EXINIT
  477.             TMPDIR="$HOME/.tmp"
  478.             EXPORT TMPDIR
  479.         fi
  480.  
  481.     (To accomodate 'csh' users, you'll will need to edit /etc/cshrc to perform
  482.     the same function) Now most UNIX programs (like 'vi', 'elm', 'cc', 'gcc',
  483.     etc...) will use $HOME/tmp as a safer location for temp-files.
  484.  
  485.  
  486. =========================================================
  487. **** List of known bugs and patches under A/UX 3.x.x ****
  488. ---------------------------------------------------------
  489.  
  490. ~~~~~~~~~~~~~~~
  491. AWS Tune-Up 1.0
  492. ~~~~~~~~~~~~~~~
  493.  
  494.     By far, this is the most important patch you could apply to A/UX 3.0.1.
  495.     It updates it to 3.0.2 and fixes lots of bugs as well as provides better
  496.     performance. The patch is in the form of 2 DiskCopy Image files which
  497.     can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
  498.     download the files and then use DiskCopy to make the Installer disks.
  499.     This is a _free_ upgrade to 3.0.1 and requires 3.0.1.
  500.  
  501. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  502. Performance related patches: 3.0.x
  503. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  504.  
  505.     inetd:
  506.         ***            Unofficial replacement is available            ***
  507.         ***            on jagubox.gsfc.nasa.gov in pub/aux            ***
  508.         ***      This replacement is based on the BSD-reno inetd      ***
  509.         ***  and allows such nice features as rereading /etc/servers  ***
  510.         ***        on receiving SIGHUP, specifying options for        ***
  511.         ***         called daemons and logging when daemons           ***
  512.         ***     are spawned and which host requested the daemon       ***
  513.         {{{{{                                                       }}}}}
  514.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  515.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  516.  
  517.     tc (tape driver device driver):
  518.         Reports incorrect file number when 'mt' is used to skip
  519.         files (fsf and/or bsf).
  520.         Doesn't allow for additional storage capability of extended
  521.         length tapes or hardware compression tape drives.
  522.         Doesn't work with Exabyte 8200s
  523.         ***                                                           ***
  524.         ***       An unofficial replacement version of 'tc' has       ***
  525.         ***     has been written that fixes these bugs as well as     ***
  526.         ***        providing additional capability and support        ***
  527.         ***                    for other drives                       ***
  528.         ***                                                           ***
  529.         ***               3.x.x replacement is available              ***
  530.         ***    on jagubox.gsfc.nasa.gov in pub/aux/NEWtc332.tar.gz    ***
  531.         {{{{{                                                       }}}}}
  532.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  533.  
  534. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  535. Bug-related patches: 3.x.x
  536. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  537.  
  538.     syslogd:
  539.         Doesn't handle some facility (like 'news') logging correctly.
  540.         ***             Unofficial replacement is available           ***
  541.         ***     on jagubox.gsfc.nasa.gov as pub/aux/syslogd.tar.gz    ***
  542.         ***       (contains new /etc/syslogd as well as syslog.h)     ***
  543.         {{{{{                                                       }}}}}
  544.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  545.  
  546.     in.telnetd:
  547.         Leaves ports open and hanging occasionally. Can cause kernel crashes.
  548.         ***            Unofficial replacement is available            ***
  549.         ***                 on jagubox.gsfc.nasa.gov                  ***
  550.         ***         in pub/aux/apple.fixes/unsupported/3.0.x          ***
  551.         {{{{{                                                       }}}}}
  552.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  553.         ####  Please note that it appears that this new version has  ####
  554.         ####    some slight bugs in correctly handling Synchs and    ####
  555.         ####     options negotiation. I have only seen this using    ####
  556.         #### VersaTerm Pro 3.6.2 and connecting to myself via telnet ####
  557.  
  558.     /etc/startup.d/ao,as,ae6:
  559.         Ignores the Broadcast Address value in /etc/NETADDRS.
  560.         ***      If your broadcast address needs to be different      ***
  561.         ***   then the default, you'll need to modify these scripts   ***
  562.         ***     to add 'broadcast "$broadcast"' to the 'ifconfig'     ***
  563.         ***     lines that _don't_ refer to Loopback. Pretty easy     ***
  564.         ***           but Email me if you have questions              ***
  565.  
  566.     /usr/include/dir.h:
  567.         If entered through dirent.h and _SYSV_SOURCE is defined,
  568.         rewinddir() is incorrectly "defined". It assumes that you are
  569.         linking -lposix and will use the "real" rewinddir() function
  570.         found there, when, in fact, you should #define rewinddir
  571.         as done with _BSD_SOURCE.
  572.         ***         A hacked version of dir.h is available on         ***
  573.         ***    jagubox.gsfc.nasa.gov. It only assumes -lposix will    ***
  574.         ***      be included (and the real rewinddir() called) if     ***
  575.         ***             _only_ _POSIX_SOURCE is defined               ***
  576.  
  577.     /usr/include/sys/types.h:
  578.         Incorrectly defines size_t as signed int when every other header
  579.         file defines it as unsigned int.
  580.         ***     Fix is very simple... edit /usr/include/sys/types.h   ***
  581.         ***           and change it from signed to unsigned           ***
  582.  
  583. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  584. Bug-related patches: 3.0.2
  585. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  586.  
  587.     elap:
  588.         A/UX-mac occasionally disappears under Chooser
  589.         ***            Official 3.0.2 patch is now available          ***
  590.         ***           on aux.support.apple.com in aws95/elap          ***
  591.  
  592. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  593. Performance related patches: 3.0
  594. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  595.  
  596.     MacOS System Heap Expansion:
  597.         Not as robust as the _real_ System 7.0.1 capability, thus pre-
  598.         venting you from loading lots of memory hungry Extensions and
  599.         CDEVs.
  600.         ***             Unofficial replacement is available           ***
  601.         ***                 on jagubox.gsfc.nasa.gov                  ***
  602.         ***           in pub/aux/apple.fixes/unsupported/3.0          ***
  603.  
  604. ~~~~~~~~~~~~~~~~~~~~~~~~
  605. Bug-related patches: 3.0
  606. ~~~~~~~~~~~~~~~~~~~~~~~~
  607.  
  608.     as, ao, etheraddr:
  609.         H/W ethernet address is burned in bitwise reverse on Q9?0
  610.         and Ethernet NB card. Thus, ao, as and etheraddr reports the
  611.         incorrect address.
  612.         ***                 3.0 patch is now available                ***
  613.         ***         on aux.support.apple.com in supported/3.0         ***
  614.  
  615.     BNU/HDB UUCP (the whole thing):
  616.         Severe problems as distributed, such as inability to dialout
  617.         with correctly configured modem, etc...
  618.         ***                 3.0 patch is now available                ***
  619.         ***         on aux.support.apple.com in supported/3.0         ***
  620.         ***     This "patch" is a newer version of HDB (to 1.16)      ***
  621.         ***         and adds some Mega-enhancements as well.          ***
  622.         ***                Thanks to Earl Wallace!!!                  ***
  623.         #### If you snagged version 1.14 from aux.support.apple.com  ####
  624.         ####       then be _sure_ to update to version 1.16.         ####
  625.         ####                                                         ####
  626.         ####     Installing BNU 1.6 causes syslogd to break under    ####
  627.         ####    new compiles. This is due to the fact that dial.o    ####
  628.         ####   is replaced in libc.a|libc_s.a when BNU is installed  ####
  629.         ####         To fix, just get the replacement dial.o         ####
  630.         ####           on ftp.apple.com in pub/earlw/dial            ####
  631.  
  632.     csh:
  633.         Doesn't seem to like filename completion.
  634.  
  635.     pstat:
  636.         Depending on the options used, can gobble memory and not release
  637.         it.
  638.         ***             Unofficial replacement is available           ***
  639.         ***                 on jagubox.gsfc.nasa.gov                  ***
  640.         ***           in pub/aux/apple.fixes/unsupported/3.0          ***
  641.  
  642.     rpc.rstatd:
  643.         Doesn't report correct load averages
  644.         ***             Unofficial replacement is available           ***
  645.         ***                 on jagubox.gsfc.nasa.gov                  ***
  646.         ***           in pub/aux/apple.fixes/unsupported/3.0          ***
  647.  
  648.     serial drivers:
  649.         After some use on all Macs (except IIfx and maybe the Quadras)
  650.         the kernel will crash.
  651.         ***  This has been confirmed by Apple but no fix exists yet!! ***
  652.  
  653.     syslogd:
  654.         If BNU 1.6 is installed, syslogd won't work on newly compiled
  655.         programs due to some munging of libc.a|libc_s.a when BNU 1.6
  656.         is installed. See BNU/HDB UUCP above.
  657.  
  658.  
  659. =========================================================
  660. **** List of ported software available via anon-ftp: ****
  661. ---------------------------------------------------------
  662.  
  663. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  664. Already ported and available:
  665. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  666.  
  667. (Included is the person responsible for the port and the location of the port)
  668.  
  669.     Austin KCL (619):
  670.         Thomas Weigert          (weigert@mcs.anl.gov)
  671.         wuarchive.wustl.edu     [???]
  672.  
  673.     bash (1.12):
  674.         John Coolidge           (coolidge@apple.com)
  675.         wuarchive.wustl.edu     [systems/aux/gnu]
  676.  
  677.     bpf (Berkeley Packet Filter):
  678.         Ron Flax                (ron@afsg.apple.com)
  679.         afsg.apple.com          [pub]
  680.  
  681.     emacs 19.21:
  682.         Brent Burton            (brentb@tamsun.tamu.edu)
  683.         isc.tamu.edu            [pub/personal/brentb]
  684.         (The diffs that Brent used, done by Paul Traina, are available
  685.         via anon-ftp on jagubox in the emacs diffs "collection" tarchive)
  686.  
  687.     fortune:
  688.         Phillip P. Porch        (root@theporch.raider.net)
  689.         jagubox.gsfc.nasa.gov   [pub/aux]
  690.  
  691.     gated (2.0.1.14):
  692.         Herb Weiner             (herbw@wiskit.rain.com)
  693.         onion.rain.com          [pub/wiskit]
  694.  
  695.     gcc (1.40 and 2.5.7):
  696.         John Coolidge           (coolidge@apple.com)
  697.         wuarchive.wustl.edu     [systems/aux/gnu]
  698.         jagubox.gsfc.nasa.gov   [pub/aux]
  699.         (See Q&A #P.03)
  700.  
  701.     gdb (4.9):
  702.         John Coolidge           (coolidge@apple.com)
  703.         wuarchive.wustl.edu     [systems/aux/gnu]
  704.  
  705.     GNUtar (1.11.2):
  706.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  707.         jagubox.gsfc.nasa.gov   [pub/aux]
  708.  
  709.     GNUzip (1.2.4):
  710.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  711.         jagubox.gsfc.nasa.gov   [pub/aux]
  712.  
  713.     inetd (BSD/Reno)
  714.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  715.         John Coolidge           (coolidge@apple.com)
  716.         jagubox.gsfc.nasa.gov   [pub/aux]
  717.  
  718.     lemacs (19.6):
  719.         Thomas Eberhardt
  720.         labrea.Stanford.EDU     [pub/gnu/lucid]
  721.  
  722.     libg++ (2.4):
  723.         John Coolidge           (coolidge@apple.com)
  724.         wuarchive.wustl.edu     [systems/aux/gnu]
  725.  
  726.     logging in.ftpd:
  727.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  728.         jagubox.gsfc.nasa.gov   [pub/aux]
  729.         (See Q&A #A.06)
  730.  
  731.     md5:
  732.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  733.         jagubox.gsfc.nasa.gov   [pub/aux]
  734.  
  735. +   Mosiac:
  736. +       Eric Rosen              (eric@cse.ucsc.edu)
  737. +       jagubox.gsfc.nasa.gov   [pub/aux]
  738.  
  739.     msgs:
  740.         Phillip P. Porch        (root@theporch.raider.net)
  741.         jagubox.gsfc.nasa.gov   [pub/aux]
  742.  
  743.     mt2 (replacement for 'mt' tape positioner program... not really
  744.       needed since NEWtc is available that fixes the need for mt2):
  745.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  746.         jagubox.gsfc.nasa.gov   [pub/aux]
  747.  
  748.     mtools (MS DOS floppy access tools):
  749.         Parag Patel             (parag@netcom.com)
  750.         jagubox.gsfc.nasa.gov   [pub/aux]
  751.  
  752.     patch:
  753.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  754.         jagubox.gsfc.nasa.gov   [pub/aux]
  755.  
  756. +   perl (4.036):
  757. +       jagubox.gsfc.nasa.gov   [pub/aux]
  758.  
  759.     pine 3.87:
  760.         Phillip P. Porch        (root@theporch.raider.net)
  761.         jagubox.gsfc.nasa.gov   [pub/aux]
  762.  
  763.     popper:
  764.         Ben Goren               (ben@tux.fa.asu.edu)
  765.         jagubox.gsfc.nasa.gov   [pub/aux]
  766.  
  767.     sendmail 5.65:
  768.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  769.         jagubox.gsfc.nasa.gov   [pub/aux]
  770.         (See Q&A #C.02)
  771.  
  772.     sendmail.cf:
  773.         Alexis Rosen            (alexis@panix.com)
  774.         jagubox.gsfc.nasa.gov   [pub/aux/uucp-sendmail-cf]
  775.         (See Q&A #A.06)
  776.  
  777.     smail 3.1.28:
  778.         Bob Denny               (denny@alisa.com)
  779.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  780.         jagubox.gsfc.nasa.gov   [pub/aux]
  781.  
  782.     talk and talkd (BSD 4.3 versions)
  783.         Steve Green             (xrsbg@dirac.gsfc.nasa.gov)
  784.         jagubox.gsfc.nasa.gov   [pub/aux]
  785.         (See Q&A #C.05)
  786.  
  787.     tcsh (6.03):
  788.         jagubox.gsfc.nasa.gov   [pub/aux]
  789.  
  790.     texinfo (3.1):
  791.         Phillip P. Porch        (root@theporch.raider.net)
  792.         jagubox.gsfc.nasa.gov   [pub/aux]
  793.  
  794.     vtwm (5.1):
  795.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  796.         jagubox.gsfc.nasa.gov   [pub/aux]
  797.  
  798. |   WUARCHIVE ftpd (2.3):
  799.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  800.         jagubox.gsfc.nasa.gov   [pub/aux]
  801.         (See Q&A #A.06)
  802.  
  803.     X11R5:
  804.         John Coolidge           (coolidge@apple.com)
  805.         Thomas Eberhardt
  806.         wuarchive.wustl.edu     [systems/aux/X11R5]
  807.         ftp.uni-stuttgart.de    [soft/mac/aux/x11r5/forAUX3.0]
  808.         (See Q&A #P.02)
  809.  
  810.     xntpd (3.3j):
  811.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  812.         John Dundas III         (dundas@salt.jpl.nasa.gov)
  813.         jagubox.gsfc.nasa.gov   [pub/aux]
  814.  
  815. ~~~~~~~~~~~
  816. Easy to do:
  817. ~~~~~~~~~~~
  818.  
  819. The following have also been successfully ported to A/UX with minimal trouble.
  820. Since the ports are pretty straightforward, only a few are actually available
  821. in their ported form (please see Q&A #P.01): (those that have been personnally
  822. verified by the editor are marked with '#')
  823.  
  824.     o  Cnews (Ver. ??)
  825.     o  Deliver (v2.1 pl. 9 or later)
  826.     #  Elm 2.4.23 ( use -lbsd and edit config.sh and "undef" d_locale)
  827.     o  Ghostscript 2.3
  828.     #  GNU Stuff (all are pretty much straight-forward and compile
  829.        "right out of the box"):
  830.             binutils 1.9
  831.             bison 1.21
  832.     #       diffutils 2.3
  833.             emacs 19.[19-22] (diffs on jagubox in the emacs diffs "collection"
  834.              tarchive)
  835.     #       fileutils 3.6
  836.     #       find 3.8  (to allow 'find' to recognize user=nobody, compile
  837.               with 'cc')
  838.             flex 2.3.7
  839.             gawk 2.1.5 (use '-traditional' with gcc)
  840.     #       gdbm 1.5
  841.     #       grep 1.6
  842.     #       make 3.68
  843.     #       sed 1.1.6
  844.     #       sed 2.0.3
  845.             shellutils 1.8
  846.             Smalltalk 1.1.1
  847.     #       tar 1.11.2 (requires '-lbsd -lposix')
  848.     #       textutils 1.6
  849.     #       gzip 1.2.4
  850.     #  gopher/gopherd 2.011
  851.     o  Gwm 1.7h
  852.     #  httpd 1.1 (from ftp.ncsa.uiuc.edu)
  853.     o  INN 1.4 (get 'config.dat' from ftp.i-link.com)
  854.     #  less 177
  855.     #  listproc 6.0c (was: listserv) (compile w/ -DDONT_GO_INTERACTIVE)
  856.     #  NetHack
  857.     #  nn 6.4.18 (A/UX configuration file available on jagubox)
  858.     #  nntp 1.5.11
  859.     #  perl 4.035 (use '-lm -lPW -ldbm -lbsd', get "fixed" dir.h to
  860.               avoid needing -lposix for rewinddir(), use gcc if
  861.               possible, make sure d_voidsig is correct ("define" if
  862.               using ANSI, "undef" if not), and undef d_ndbm while
  863.               defining d_dbm in config.sh).
  864.     #  perl 4.036 (Don't answer "aux" but instead let the configure script
  865.               work it's magic -- hints for 4.035 also apply)
  866.     #  rn 4.3.54
  867.     #  rn 4.4.1
  868.     o  SB Prolog 3.1 (minor changes in the builtin directory)
  869.     #  smail 3.1.28 (get the AUXsmail.tar.gz file on jagubox for
  870.                 A/UX diffs and patches)
  871.     #  tcsh (compiles out of the box)
  872.     #  trn 3.0
  873.     #  xntpd (see above)
  874.  
  875.  
  876. ========================================================
  877. **** Partial list of compatible shareware|freeware  ****
  878. --------------------------------------------------------
  879.  
  880. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  881. Popular shareware|freeware:
  882. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  883.                 ++++ This is by No Means a complete list!!! ++++
  884.  
  885.     o  BBEdit Lite (2.31) - _really_ nice and good replacement for TextEditor
  886.         (see Hints and Words Of Wisdom)
  887.     o  CFloppy (1.0)
  888.     o  Disinfectant INIT (3.5)
  889.     o  DiskDup+ (2.22) - works better than DiskCopy and MountImage
  890.     o  Extension Manager (1.8 and later)
  891.     o  Facade (1.x)
  892.     o  FMbackup 1.0.4  (prevents having to totally rebuild Desktop when A/UX
  893.         crashes... See Q&A #M.10)
  894.     o  GateKeeper (1.3) - For some reason, "Show Log" doesn't work although
  895.         log entries _are_ made. Chris Johnson knows about this and is
  896.         looking into it.
  897.     o  Gregs Buttons (3.1.5)
  898.     o  MacsBug (6.2.x)
  899.     o  Maelstrom (1.40) - crashes sometimes, but heck it does that under MacOS
  900.         as well :)
  901.     o  MenuChoice (1.9)
  902.     o  NewLook (2.0)
  903.     o  Solarian II (1.04)
  904.     o  Windows (2.1)
  905.  
  906. ~~~~~~~~~~~~~~~~~~~
  907. Popular commercial:
  908. ~~~~~~~~~~~~~~~~~~~
  909.  
  910. The following is a _very_ short list of some known compatible 3rd party
  911. applications, CDEVs, Extensions, etc... This is by no means a complete list
  912. since the vast majority of MacOS programs work just fine under A/UX (see
  913. Q&A #M.01). But the following ones are kinda popular and they get asked about
  914. alot:
  915.  
  916.     o  Access PC (2.0)
  917.     o  After Dark (2.0u and later) - some displays don't have enough
  918.         memory to work so the default (low memory) one comes up
  919.     o  ATM 2.0.3
  920.     o  ATM 3.0
  921.     o  DOS Mounter (3.00) - but _boy_ does it slow down floppy disk access!
  922.     o  Illustrator 3.2
  923.     o  Now Utilities 3.0.2 and 4.0.1
  924.         (New Menus requires that the Control Panel alias point to a Control
  925.         Panel which is on a HFS partition... this means you need to copy the
  926.         A/UX CP over to a HFS partition (such as MacPartition) and then make
  927.         and alias and copy that over to the Apple Menu Items folder under
  928.         A/UX.
  929.  
  930.         Super Boomerang doesn't seem to like 3.0)
  931.  
  932.     o  PC Exchange (1.0.3)
  933.     o  Photoshop 2.0.1 <mostly> (Gamma, which is included, does _not_ work)
  934.     o  Premiere 1.0
  935.     o  StrataVision 3D 2.6.1 (requires the patch located via anon-ftp
  936.         on jagubox in pub/aux)
  937.     o  Streamline 2.0 <mostly... not 32-bit clean>
  938.     o  Timbuktu Pro (all other versions including v5 have problems)
  939.     o  Type Reunion 1.3
  940.     o  VersaTerm Telnet (etc...) Tool
  941.  
  942.  
  943. ====================================
  944. **** Hints and Words Of Wisdom: ****
  945. ------------------------------------
  946.  
  947. o Depending on your setup, A/UX allocates either 10% or 50% of memory for disk
  948.   buffers (that is, the value of 'NBUF' is either 0 or -1... see kconfig(1M))
  949.   [The kernel for the AWS95 has, by default, a NBUF value of -1 whereas
  950.   "everyone else" has NBUF = 0]. If you have a lot of RAM and A/UX is only
  951.   allocating 10%, you can greatly increase system performance by increasing
  952.   the allotment. However, you cannot use kconfig to specify "20%" but you must
  953.   give it an actual number to use. The way to determine the number of buffers
  954.   being used, run "pstat -m". This will give you the number of buffers that
  955.   are currently allocated. For example, if the value is 1000, then you know
  956.   that to increase the number of buffers to 20%, you must use 'kconfig' to set
  957.   'NBUF' to 2000. Under 3.0.2 (and later), you can use the Memory cdev (as
  958.   root) to do this as well. In fact, this is the recommended way.
  959.  
  960.   Please note that if you change the amount of RAM you have, you'll need to
  961.   change the value of 'NBUF.' I suggest that before you add|remove RAM, you
  962.   use 'kconfig' to reset 'NBUF' to 0, then do the RAM change and see how your
  963.   system performance is. If needed, you can then use the above to increase
  964.   (or decrease) the number of disk buffers.
  965.  
  966. o You can run A/UX on the original MacII, however the PMMU chip must be
  967.   installed. You can also use one of the many 68030 upgrades for the MacII,
  968.   such as the Marathon '030, but the MacII ROMs won't recognize the PMMU
  969.   capabilities onboard the CPU. You'll need to get the MacII FDHD ROM Upgrade
  970.   Kit. This kit replaces your ROMs with IIx ROMs, thus enabling you (and
  971.   A/UX) to use the upgrade. The kit also replaces your SWIM chip (floppy
  972.   controller) enabling you to use FDHD disks (if such a drive is installed)
  973.   too... thus the name of the kit. This kit can be had for about $120 although
  974.   some dealers also include a FDHD drive as well, bumping the price up to
  975.   about $430.
  976.  
  977. o You can configure the built-in serial ports for hardware handshaking
  978.   (RTS & DTS) _or_ dialup security (DTR & CD) but not both, due to the
  979.   lack of a sufficient number of modem control lines.
  980.  
  981. o When using ftp, unless you are _sure_ that a file is, in fact, a true
  982.   Text file, set the ftp mode to Binary. This is especially true when
  983.   downloading GIFs and "true" Mac files. If it's a BINHEXed file or a
  984.   uuencoded file, then you can specify Ascii mode (in some cases, it's
  985.   required). If the file you wish to download has the ".tar" or ".Z" suffix,
  986.   then you _need_ Binary; if the suffix is ".uu" or ".hqx" then use Ascii.
  987.   If you are using a MacOS-ftp utility, then using MacBinary may confuse A/UX
  988.   (well, the Unix side of it). If the file is a tar file (for example),
  989.   compressed or not, MacBinary attaches some MacOS "information" to the file
  990.   that tar can't handle. Use 'fcnvt' to change the file to Apple Double to
  991.   "strip" this extra by separating the forks:
  992.   
  993.     $ fcnvt -v -d <input.file> <output.file>
  994.  
  995.   To avoid having A/UX attempt the CR->NL change when copying the file over to
  996.   A/UX, change the Creator to "A/UX" and Type to "BIN " before drag-copying
  997.   the file.
  998.  
  999.   So, the flow should be as follows:
  1000.  
  1001.     o Set the file's Creator and Type to something safe ("A/UX"
  1002.       and "BIN ") to avoid CR->NL translation.
  1003.     o Drag copy over to A/UX.
  1004.     o Use 'fcnvt' to convert file to Apple Double format.
  1005.     o Use UNIX utilties as normal.
  1006.  
  1007. o To download GIF files via anon-ftp, be sure to specify Binary mode. Then
  1008.   use 'setfile' to create the correct Type and Creator fields (for, example,
  1009.   for Giffer use 'setfile -t"GIFf" -c"Bozo"'). You can then keep this file
  1010.   on your A/UX disk or transfer it over to your MacOS disk (See Q&A #M.07).
  1011.  
  1012. o If you want to rebuild the "/" desktop, be _sure_ to avoid circular
  1013.   symbolic links (links to "." and/or "..") or else you'll be waiting a
  1014.   looooong time. In a similar way, make sure that you don't have NFS volumes
  1015.   mounted because they will add a LOT to the time required to rebuild the
  1016.   Desktop...
  1017.  
  1018. o With the newest version of HDB UUCP (1.16 - see above), use the "-u"
  1019.   option on 'getty' to keep /dev/tty?? settings sane. Also use the "-t" option
  1020.   with a value like 60 or so to make getty hang up a hung login attempt.
  1021.  
  1022. o If your A/UX setup is a true multi-user system, or, at the least, has
  1023.   Guest as an active account, it is a Very Good Idea to give each user their
  1024.   own personal System Folder (use 'systemfolder'). This is _very_ true for
  1025.   root! As root, you should also avoid using the global System Folder
  1026.   (mac/sys/System Folder) as an alternate Sys. Folder... there's very little
  1027.   need to do so anyway.
  1028.  
  1029.   Oh yeah... you can't just copy /mac/sys/System Folder to something like
  1030.   $HOME/System Folder... you must use 'systemfolder' and add/change/delete
  1031.   things as required.
  1032.  
  1033. o It's very easy to replace TextEditor as your Finder-double-click text
  1034.   editor. All you need to do is copy the application to /mac/bin (make sure
  1035.   that it's permissions are 755 bin|bin), edit /etc/profile and /etc/cshrc
  1036.   to change FINDER_EDITOR to point to the application. Now, A/UX text files
  1037.   will show up as that application's filetype. An _excellent_ replacement is
  1038.   BBEdit Lite (v 2.31). It is really recommended!
  1039.  
  1040. o A/UX's 'login' supports additional dialup security. This is enabled by
  1041.   creating|editing two files: /etc/dialups and /etc/d_passwd. The format of
  1042.   /etc/dialups is a list of ports that you want to have dialup passwds. eg:
  1043.  
  1044.     /dev/tty0
  1045.     /dev/tty10
  1046.  
  1047.   The format of /etc/d_passwd is a list which associates a password with
  1048.   a login program (which is the last field in /etc/passwd). eg:
  1049.  
  1050.     /bin/sh:&nk7h7ak92j3H:
  1051.     /bin/ksh:8hw$jK4ft92jx:
  1052.     /bin/csh::
  1053.     /usr/lib/uucp/uucico::
  1054.  
  1055.   In this case, if anyone attempts to login on ports tty0 or tty10 and are
  1056.   using 'ksh' or 'sh', they'll get asked for a secondary (dialup) password.
  1057.   Users using 'csh' or 'uucico' will not. All other logins that use login
  1058.   programs not entered in /etc/d_passwd (like, for example,
  1059.   /usr/local/bin/bash) will _not_ be allowed to login on the "secure" port.
  1060.  
  1061. o If you want to install a program that uses a "complex" installation
  1062.   procedure (like for Canvas, Word, Stuffit, etc...) then you should not
  1063.   try to do a fresh install under A/UX. Instead, install under the real MacOS,
  1064.   reboot A/UX and then install needed files to your A/UX System Folder.
  1065.   Programs that, when installed, hack around with the System (beyond things
  1066.   like Fonts) itself, most probably won't work under A/UX, since you really
  1067.   can't patch System (unless you are handy with ResEdit and know exactly
  1068.   what resources to add|change... even then, you are taking a chance...)
  1069.  
  1070. o If you get an error message to the effect that you have a bad SuperBlock
  1071.   when doing a 'fsck' on a disk, try having 'fsck' use another SuperBlock.
  1072.   Block #16 is always an alternate SuperBlock block, so you can try:
  1073.  
  1074.     $ fsck -b 16 /dev/rdsk/cxxxxxxxx
  1075.  
  1076. o A/UX has two versions of the setpgrp() call. The first is the standard
  1077.   SysV version and takes no arguments. The other is the standard BSD version
  1078.   and takes 2 arguments (setpgrp(pid, gpid)). However, if, when porting
  1079.   programs, you have added the 'set42sig()' call, or link with -lbsd, then
  1080.   you _must_ use the 2nd form (actually, the 2nd form is required whenever
  1081.   COMPAT_BSDTTY and COMPAT_BSDSIGNALS are set); the 1st form will usually
  1082.   fail. A non-portable way of handling this is always calling setpgrp() as
  1083.   follows:
  1084.  
  1085.     setpgrp(0, getpid());
  1086.  
  1087.   Now, no matter what the compatibility flags are, the function will work
  1088.   ('cc' and 'gcc' under A/UX presently ignores the passed arguments when the
  1089.   no-argument version is called).
  1090.  
  1091. o It's always a Good Idea to keep "original" stuff separate from locally
  1092.   added or modified stuff. '/usr/local' is a very good place for this.  To
  1093.   add manual pages to this location, create a '/usr/local/man' directory.
  1094.   Now make a symbolic link from '/usr/catman/L_man' to '/usr/local/man'. This
  1095.   does two things: (1) Allows 'man' to search down the '/usr/catman' directory
  1096.   to find your local man pages while keeping the actual data under
  1097.   '/usr/local'; (2) The local man-page set will be searched first (due to
  1098.   the name L_man) as would be desired. If you _really_ want, you can also
  1099.   make '/usr/local/catman' a link to '/usr/local/man'.
  1100.  
  1101. o If you've added a number of additional man pages, you may want to snag the
  1102.   'man-utils' package on jagubox.gsfc.nasa.gov. It includes a collection of
  1103.   programs and scripts that make viewing, installing and making man pages
  1104.   easier. Also includes a replacement for '/usr/bin/man'.
  1105.  
  1106. o Some 'configure' scripts may fail due to some line-length and symbol-length
  1107. + limitations in /bin/sh. You can get around this by changing the script type
  1108. + from:
  1109. +
  1110. +   #!/bin/sh
  1111. +
  1112. + to:
  1113. +
  1114. +   #!/bin/ksh
  1115. +
  1116. + to run them as 'ksh' scripts... In fact, I personally think it's better
  1117. + to run _all_ 'sh' scripts as 'ksh' scripts if possible ;)
  1118.  
  1119. //////////////////////  END OF PART 1 OF 3  \\\\\\\\\\\\\\\\\\\\\\
  1120. -- 
  1121. #include <std/disclaimer.h>
  1122.     Jim Jagielski               |  "Is this something you can share with
  1123.     jim@jagubox.gsfc.nasa.gov   |   the rest of us Amazing Larry!!??"
  1124.     NASA/GSFC, Code 734.4       |                  Pee Wee
  1125.     Greenbelt, MD 20771         |
  1126.